package com.qpx.goodsservice.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.util.Date;
import java.util.Objects;

@Entity
@Table(name = "t_item")
@Getter
@Setter
public class TItemEnity {

    @Id
    @Column(name = "id", nullable = false)
    private int id;
    @Basic
    @Column(name = "item_name", nullable = true, length = 255)
    private String itemName;

    @Basic
    @Column(name = "Item_image", nullable = true, length = 255)
    private String itemImage;


    @Basic
    @Column(name = "Item_desc", nullable = true, length = 255)
    private String itemDesc;
    @Basic
    @Column(name = "Item_price", nullable = true, precision = 0)
    private Integer itemPrice;
    @Basic
    @Column(name = "Item_brand", nullable = true, length = 255)
    private String itemBrand;
    @Basic
    @Column(name = "Item_color", nullable = true, length = 255)
    private String itemColor;
    @Basic
    @Column(name = "Item_sales", nullable = true, length = 255)
    private String itemSales;

    @Basic
    @Column(name = "create_time", nullable = true, length = 255)
    private Date createTime;

}
